home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / freeWAIS-sf-1.1 / ir / boolean_op.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-26  |  862 b   |  31 lines

  1. #ifndef BOOLEAN_OP_H
  2. #define BOOLEAN_OP_H
  3. /* 
  4.  * boolean_op.h -- 
  5.  * SCCS Status     : %W%    %G%
  6.  * Author          : Huynh Quoc T. Tung
  7.  * Created On      : Sun Oct 17 16:40:58 1993
  8.  * Last Modified By: Huynh Quoc T. Tung
  9.  * Last Modified On: Fri May 27 10:32:38 1994
  10.  * Update Count    : 11
  11.  * Status          : Unknown, Use with caution!
  12.  */
  13.  
  14. typedef struct doc_descr_struct {
  15.   long doc_id;
  16.   double score;
  17. } doc_descr_struct;
  18.  
  19. typedef struct search_result_struct {
  20.   long operand_id;
  21.   long number_of_hits;
  22.   doc_descr_struct *doc_ids_array;
  23. } search_result_struct;
  24.  
  25.  
  26. boolean save_operand_id _AP((long operand_id, search_result_struct* search_result_array, long entries));
  27. boolean IsOperator _AP((char* op));
  28. long retriev_result _AP((long entries, double* result));
  29. boolean boolean_operations _AP((char* operator, search_result_struct* result_array));
  30. #endif
  31.